package base.sys.api.enetity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import base.core.api.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* @Description 菜单权限表
* @Author elegant
* @CreatDate 2022/1/8 16:08
*/
@Data
@Accessors(chain = true)
@Schema(description = "菜单权限表")
@TableName("base_sys_menu")
public class SysMenu extends BaseEntity {

    @TableId(type = IdType.AUTO)
    @Schema(description = "主键")
    Integer id;

    @Schema(description = "")
    String name;

    @Schema(description = "")
    String path;

    @Schema(description = "父菜单ID")
    Integer parentId;

    @Schema(description = "")
    String icon;

    @Schema(description = "")
    Integer sort;

    String menuType;
}
